package com.sharding.issuse.dao;


import com.sharding.issuse.model.CaseStatusBranchVo;
import com.sharding.issuse.model.RobotCase;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Mapper
public interface RobotCaseMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RobotCase record);

    int insertSelective(RobotCase record);

    RobotCase selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RobotCase record);

    int updateByPrimaryKey(RobotCase record);

    /**
     * 根据条件查询案件分部
     *
     * @param detail
     * @return
     */
    List<CaseStatusBranchVo> getCaseStatusBanch(Map<String, Object> detail);


}